<span class="st">当前状态: </span>浏览/编辑当前配置<br />
<hr size="1" color="#cccccc" />
<div class="divInfo">
<form action="{url('Default','Install3')}" method="post">
<div id="divForm">
	<table width="100%" cellspacing="1" border="0" align="center" class="tbForm">
		<tr>
			<th>提示信息</td>
		</tr>
		<tr>
			<td>
			<li>{if $this->data['err']!=''}<span class="error">{$this->data['err']}</span>{else}请在下面填写您的数据库账号信息, 通常情况下不需要修改红色选项内容。{/if}</li>
			</td>
		</tr>
	</table>
	<br /><br />
	
	<table width="100%" cellspacing="1" class="tbForm" border="0" align="center">
		<tr><th>设置选项</th><th>当前值</th><th>注释</th></tr>
		<tr>
		<td><font color="#ff0000">数据库服务器:</font></td>
		<td><input type="text" name="host" value="{$this->data['db']['host']}" /></td>
		<td>数据库服务器地址, 一般为 localhost</td>
		</tr>
		<tr>
		<td>数据库用户名:</td>
		<td><input type="text" name="username" value="{$this->data['db']['username']}" /></td>
		<td>数据库账号用户名</td>
		</tr>
		<tr>
		<td>数据库密码:</td>
		<td><input type="password" name="password" value="{$this->data['db']['password']}" /></td>
		<td>数据库账号密码</td>
		</tr>
		<tr>
		<td>数据库名:</td>
		<td><input type="text" name="dbname" value="{$this->data['db']['dbname']}" /></td>
		<td>数据库名称</td>
		</tr>
		<tr>
		<td><font color="#ff0000">表名前缀:</font></td>
		<td><input type="text" name="prefix" value="{$this->data['db']['prefix']}" /></td>
		<td>同一数据库安装多个程序时可改变默认</td>
		</tr>
	</table>
</div>
<br /><br /><br />
<input type="button" value="上一步" onclick="history.back()" /> &nbsp;&nbsp;<input type="submit" name="setdb" value="下一步" />
</form>
</div>